
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户注册-西藏投资项目在线审批监管平台</title>

    <#include 'common/common_css.ftl'>
</head>
<body>
  <#include 'common/header.ftl'>

   <!-- 内容区 -->
  <div class="content">
      <div style="height: 100px;width: 100%;"></div>
      <form id="spFrom" class="form-signin required-validate bv-form" action="" method="POST" οnsubmit="return validateCallback(this)" novalidate="novalidate"><button type="submit" class="bv-hidden-submit" style="display: none; width: 0px; height: 0px;"></button>
          <div class="row">
              <label for="" class="col-lg-4 control-label">登录账号</label>
              <div class="col-lg-4 form-group">
                  <input id="userName" type="text" class="form-control" placeholder="账号" data-bv-notempty="" name="userName" data-bv-field="userName">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="userName" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small><small class="help-block" data-bv-validator="regexp" data-bv-for="userName" data-bv-result="NOT_VALIDATED" style="display: none;">必须包含字母、数字</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">由字母、数字组成，长度为6-20个字符</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">登录密码</label>
              <div class="col-lg-4 form-group">
                  <input id="password" type="password" class="form-control" placeholder="登录密码" data-bv-notempty="" name="password" style="margin-top: 0px;" data-bv-field="password">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="password" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small><small class="help-block" data-bv-validator="stringLength" data-bv-for="password" data-bv-result="NOT_VALIDATED" style="display: none;">长度必须在6位到20位之间</small><small class="help-block" data-bv-validator="identical" data-bv-for="password" data-bv-result="NOT_VALIDATED" style="display: none;">登录密码与确认密码不相同</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">必须包含大写字母、小写字母和数字，长度为6-20个字符</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">确认密码</label>
              <div class="col-lg-4 form-group">
                  <input id="password2" type="password" class="form-control" placeholder="确认密码" data-bv-notempty="" name="password2" data-bv-field="password2">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="password2" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small><small class="help-block" data-bv-validator="identical" data-bv-for="password2" data-bv-result="NOT_VALIDATED" style="display: none;">确认密码与登录密码不相同</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">再次输入登录密码</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">申报单位名称</label>
              <div class="col-lg-4 form-group">
                  <input id="dwmc" type="text" class="form-control" placeholder="单位名称" data-bv-notempty="" name="dwmc" data-bv-field="dwmc">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="dwmc" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">申报单位名称</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">申报单位类型</label>
              <div class="col-lg-4 form-group has-success">
                  <select id="dwlxSel" class="form-control" type="text" value="" data-bv-notempty="" name="dwlxSel" data-bv-field="dwlxSel">
                      <option value="">-请选择-</option>

<#--                      <#list dwlxList as item>-->
<#--                          <option value="${item.dictValue}">${item.dictLabel}</option>-->
<#--                      </#list>-->

                      <option value="SBDWLX2">市级行政部门</option>
                      <option value="SBDWLX3">县级行政部门</option>
                      <option value="SBDWLX4">企业</option>
                      <option value="SBDWLX5">其他</option>
                  </select>
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="dwlxSel" data-bv-result="VALID" style="display: none;">请填写必填项目</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">申报单位类型</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">证书类型</label>
              <div class="col-lg-4 form-group has-success">
                  <select id="zslxSel" class="form-control" type="text" value="" data-bv-notempty="" name="zslxSel" data-bv-field="zslxSel">
                      <option value="">-请选择-</option>
                      <option value="0">组织机构代码证（企业法人）</option><option value="1">组织机构代码证（国家机关法人）</option><option value="2">组织机构代码证（事业单位法人）</option><option value="3">组织机构代码证（社会团体法人）</option><option value="4">其他</option><option value="5">企业营业执照(工商注册号)</option><option value="6">统一社会信用代码(三证合一)</option></select>
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="zslxSel" data-bv-result="VALID" style="display: none;">请填写必填项目</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">证书类型</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">证书编号</label>
              <div class="col-lg-4 form-group">
                  <input id="zsbh" type="text" class="form-control" placeholder="证书编号" data-bv-notempty="" name="zsbh" data-bv-field="zsbh">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="zsbh" data-bv-result="NOT_VALIDATED" style="display: none;">证件编号格式错误！</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">证书编号</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">申报单位地址</label>
              <div class="col-lg-4 form-group">
                  <input id="dwdz" type="text" class="form-control" placeholder="单位地址" data-bv-notempty="" name="dwdz" data-bv-field="dwdz">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="dwdz" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">申报单位地址,最多输入128个字</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">单位地址邮编</label>
              <div class="col-lg-4 form-group">
                  <input id="dwdzyb" type="text" class="form-control" placeholder="地址邮编" data-bv-notempty="" name="dwdzyb" data-bv-field="dwdzyb">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="dwdzyb" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small><small class="help-block" data-bv-validator="regexp" data-bv-for="dwdzyb" data-bv-result="NOT_VALIDATED" style="display: none;">地址邮编格式错误</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">单位地址邮编</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">单位联系电话</label>
              <div class="col-lg-4 form-group">
                  <input id="dwlxdh" type="text" class="form-control" placeholder="联系电话" data-bv-notempty="" name="dwlxdh" data-bv-field="dwlxdh">
                  <small class="help-block" data-bv-validator="regexp" data-bv-for="dwlxdh" data-bv-result="NOT_VALIDATED" style="display: none;">电话格式错误</small><small class="help-block" data-bv-validator="notEmpty" data-bv-for="dwlxdh" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">单位联系电话</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">联系人姓名</label>
              <div class="col-lg-4 form-group">
                  <input id="lxrxm" type="text" class="form-control" placeholder="联系人" data-bv-notempty="" name="lxrxm" data-bv-field="lxrxm">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="lxrxm" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">请填写联系人真实姓名，使用简体中文，长度为2-30个字符</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">身份证号</label>
              <div class="col-lg-4 form-group">
                  <input id="sfzh" type="text" class="form-control" placeholder="身份证号" data-bv-notempty="" name="sfzh" data-bv-field="sfzh">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="sfzh" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small><small class="help-block" data-bv-validator="regexp" data-bv-for="sfzh" data-bv-result="NOT_VALIDATED" style="display: none;">证件号码格式错误</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">请正确填写联系人身份证号</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">电子邮箱</label>
              <div class="col-lg-4 form-group">
                  <input id="email" type="text" class="form-control" placeholder="电子邮箱" data-bv-notempty="" name="email" data-bv-field="email">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="email" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small><small class="help-block" data-bv-validator="emailAddress" data-bv-for="email" data-bv-result="NOT_VALIDATED" style="display: none;">邮箱地址格式有误</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">请填写电子邮箱</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">手机号码</label>
              <div class="col-lg-4 form-group">
                  <input id="phone" type="text" class="form-control" placeholder="手机号码" data-bv-notempty="" name="phone" data-bv-field="phone">
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="phone" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small><small class="help-block" data-bv-validator="regexp" data-bv-for="phone" data-bv-result="NOT_VALIDATED" style="display: none;">电话格式错误</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">手机号可作为找回密码的工具，请正确填写！</span>
              </div>
          </div>
          <div class="row">
              <label for="" class="col-lg-4 control-label">验证码</label>
              <div class="col-lg-4 form-group">
                  <div class="input-group">
                      <input type="hidden" id="uuid" name="uuid">
                      <input type="text" class="form-control" placeholder="验证码" aria-describedby="basic-addon2" id="verificationCode" data-bv-notempty="" name="verificationCode" data-bv-field="verificationCode">
                      <span class="input-group-addon" style="padding: 0;">
                            <img id="verificationCodeImg" src="#" style="cursor: pointer;" title="看不清？换一张" width="110" height="32" border="0" onclick="updateCodeImg()">
                        </span>
                  </div>
                  <small class="help-block" data-bv-validator="notEmpty" data-bv-for="verificationCode" data-bv-result="NOT_VALIDATED" style="display: none;">请填写必填项目</small></div>
              <div class="col-lg-4 frlxrlineheight">
                  <span style="color:red">*</span>&nbsp;&nbsp;&nbsp;&nbsp;
                  <span class="prompt-font">请填写验证码</span>
              </div>
          </div>
          <div class="row">
              <div class="col-lg-12">
                  <button type="submit" class="btn btn-primary btn-block" onclick="register()" style="width: 100px;margin: 0 auto;">注册</button>
              </div>
          </div>
      </form>
  </div>


  <#include 'common/footer.ftl'>
</body>

<#include 'common/common_js.ftl'>

<script src="${ctx}/static/js/web/register.js" type="text/javascript"></script>
</html>